<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>4_元素溢出</title>
    <style>
        div {
            width: 300px;
            height: 1500px;
            background-color:blue;
            overflow: visible;
            overflow: hidden;
            overflow: scroll;
            overflow: auto;
        }
        img{
            width: 300px;
            /* 垂直方向的元素对齐方式,向图片的XX线对齐 */
            vertical-align: baseline; /* 基线对齐 默认值 */
            vertical-align: bottom; /* 底线对齐 */
            vertical-align: top; /* 顶线对齐 */
            vertical-align: middle; /* 中线对齐 */
        }

    </style>
</head>
<body>
abyj<img src="../day01/1.png">国圈<img src="../day01/1.png">
<div>
    <img src="../day01/1.png" alt="">
    <img src="../day01/1.png" alt="">
    <img src="../day01/1.png" alt="">
    <img src="../day01/1.png" alt="">
</div>
</body>
</html>